import request from '@/utils/request'

export function listPickTask(query) {
  return request({ url: '/wms/pick/list', method: 'get', params: query })
}

export function completePickTask(id) {
  return request({ url: '/wms/pick/complete/' + id, method: 'put' })
}

export function delPickTask(id) {
  return request({ url: '/wms/pick/' + id, method: 'delete' })
}
